package com.kajespero.dao.commons;

import java.util.Collection;
import java.util.Map;

import com.google.appengine.api.datastore.Key;
import com.kajespero.vo.IdentifierVO;

public interface ReadDAO<T extends IdentifierVO<I>, I extends Comparable<I>> extends DAO<T>{

	public T find(I identifier);
	
	public Collection<T> findAll();	
	
	public T findBy(Map<String, Object> values);
	
	public Long nextId();
	
	public Key createKey(I id);
}
